package com.ms.p2p.provider;


import com.ms.p2p.bean.PageBean;
import com.ms.p2p.entity.content.Advert;

import java.util.List;


public interface AdvertProvider {


	public int update(Advert advert);
	public int insert(Advert map);


	public List<Advert> getPPTList(Integer is_display, Integer category);

	public int delete(int id);

	public Advert selectById(int id);

	public List<Advert> findPager(String addDate_begin, String addDate_end, Integer dis_play, Integer category, PageBean page);

	public int findCount(String addDate_begin, String addDate_end, Integer dis_play, Integer category);
}
